package cc.customer.saleHelp.domain;

import java.util.Date;
import javax.persistence.*;

@Table(name = "c_sale_plan")
public class CsalePlan {
    @Id
    @Column(name = "c_plan_id")
    private Integer cPlanId;


    @Column(name = "c_plan_uuid")
    private String cPlanUuid;

    /**
     * 1:定时提醒
     */
    @Column(name = "c_plan_type")
    private String cPlanType;

    /**
     * 标题
     */
    @Column(name = "c_plan_title")
    private String cPlanTitle;

    /**
     * 执行时间
     */
    @Column(name = "c_plan_time")
    private String cPlanTime;

    @Column(name = "c_plan_userid")
    private String cPlanUserid;

    @Column(name = "c_plan_creatime")
    private String cPlanCreatime;

    /**
     * 0 未执行1 ：已执行
     */
    @Column(name = "c_plan_isimp")
    private String cPlanIsimp;

    /**
     * 是否删除
     */
    @Column(name = "c_plan_isdelete")
    private String cPlanIsdelete;

    /**
     * 客户od
     */
    @Column(name = "c_plan_cusid")
    private String cPlanCusid;

    /**客户名称**/
    @Column(name = "c_plan_cname")
    private String cPlanCname;

    @Column(name = "c_plan_desc")
    private String cPlanDesc;

    @Transient
    private String  cPlanSelectCondition;

    /**执行计划的客户的 类型**/
    @Transient
    private String typesAll;

    public String getTypesAll() {
        return typesAll;
    }

    public void setTypesAll(String typesAll) {
        this.typesAll = typesAll;
    }

    public String getcPlanSelectCondition() {
        return cPlanSelectCondition;
    }

    public void setcPlanSelectCondition(String cPlanSelectCondition) {
        this.cPlanSelectCondition = cPlanSelectCondition;
    }

    /**
     * @return c_plan_id
     */
    public Integer getcPlanId() {
        return cPlanId;
    }

    /**
     * @param cPlanId
     */
    public void setcPlanId(Integer cPlanId) {
        this.cPlanId = cPlanId;
    }

    /**
     * @return c_plan_uuid
     */
    public String getcPlanUuid() {
        return cPlanUuid;
    }

    /**
     * @param cPlanUuid
     */
    public void setcPlanUuid(String cPlanUuid) {
        this.cPlanUuid = cPlanUuid == null ? null : cPlanUuid.trim();
    }

    /**
     * 获取1:定时提醒
     *
     * @return c_plan_type - 1:定时提醒
     */
    public String getcPlanType() {
        return cPlanType;
    }

    /**
     * 设置1:定时提醒
     *
     * @param cPlanType 1:定时提醒
     */
    public void setcPlanType(String cPlanType) {
        this.cPlanType = cPlanType == null ? null : cPlanType.trim();
    }

    /**
     * 获取标题
     *
     * @return c_plan_title - 标题
     */
    public String getcPlanTitle() {
        return cPlanTitle;
    }

    /**
     * 设置标题
     *
     * @param cPlanTitle 标题
     */
    public void setcPlanTitle(String cPlanTitle) {
        this.cPlanTitle = cPlanTitle == null ? null : cPlanTitle.trim();
    }

    /**
     * 获取执行时间
     *
     * @return c_plan_time - 执行时间
     */
    public String getcPlanTime() {
        return cPlanTime;
    }

    /**
     * 设置执行时间
     *
     * @param cPlanTime 执行时间
     */
    public void setcPlanTime(String cPlanTime) {
        this.cPlanTime = cPlanTime;
    }

    /**
     * @return c_plan_userid
     */
    public String getcPlanUserid() {
        return cPlanUserid;
    }

    /**
     * @param cPlanUserid
     */
    public void setcPlanUserid(String cPlanUserid) {
        this.cPlanUserid = cPlanUserid;
    }

    /**
     * @return c_plan_creatime
     */
    public String getcPlanCreatime() {
        return cPlanCreatime;
    }

    /**
     * @param cPlanCreatime
     */
    public void setcPlanCreatime(String cPlanCreatime) {
        this.cPlanCreatime = cPlanCreatime;
    }

    /**
     * 获取0 未执行1 ：已执行
     *
     * @return c_plan_isimp - 0 未执行1 ：已执行
     */
    public String getcPlanIsimp() {
        return cPlanIsimp;
    }

    /**
     * 设置0 未执行1 ：已执行
     *
     * @param cPlanIsimp 0 未执行1 ：已执行
     */
    public void setcPlanIsimp(String cPlanIsimp) {
        this.cPlanIsimp = cPlanIsimp == null ? null : cPlanIsimp.trim();
    }

    /**
     * 获取是否删除
     *
     * @return c_plan_isdelete - 是否删除
     */
    public String getcPlanIsdelete() {
        return cPlanIsdelete;
    }

    /**
     * 设置是否删除
     *
     * @param cPlanIsdelete 是否删除
     */
    public void setcPlanIsdelete(String cPlanIsdelete) {
        this.cPlanIsdelete = cPlanIsdelete == null ? null : cPlanIsdelete.trim();
    }

    /**
     * 获取客户od
     *
     * @return c_plan_cusid - 客户od
     */
    public String getcPlanCusid() {
        return cPlanCusid;
    }

    /**
     * 设置客户od
     *
     * @param cPlanCusid 客户od
     */
    public void setcPlanCusid(String cPlanCusid) {
        this.cPlanCusid = cPlanCusid == null ? null : cPlanCusid.trim();
    }

    public String getcPlanCname() {
        return cPlanCname;
    }

    public void setcPlanCname(String cPlanCname) {
        this.cPlanCname = cPlanCname;
    }

    /**
     * @return c_plan_desc
     */
    public String getcPlanDesc() {
        return cPlanDesc;
    }

    /**
     * @param cPlanDesc
     */
    public void setcPlanDesc(String cPlanDesc) {
        this.cPlanDesc = cPlanDesc == null ? null : cPlanDesc.trim();
    }

    @Override
    public String toString() {
        return "CsalePlan{" +
                "cPlanId=" + cPlanId +
                ", cPlanUuid='" + cPlanUuid + '\'' +
                ", cPlanType='" + cPlanType + '\'' +
                ", cPlanTitle='" + cPlanTitle + '\'' +
                ", cPlanTime='" + cPlanTime + '\'' +
                ", cPlanUserid='" + cPlanUserid + '\'' +
                ", cPlanCreatime='" + cPlanCreatime + '\'' +
                ", cPlanIsimp='" + cPlanIsimp + '\'' +
                ", cPlanIsdelete='" + cPlanIsdelete + '\'' +
                ", cPlanCusid='" + cPlanCusid + '\'' +
                ", cPlanCname='" + cPlanCname + '\'' +
                ", cPlanDesc='" + cPlanDesc + '\'' +
                '}';
    }
}